package filters;

import draw.ExploringMedics;

public class InvertColorFilter extends AbstractColorFilter {

    public InvertColorFilter(int[][] imageDescription) {
        super(imageDescription);
    }

    @Override
    public void doFilted() {
        for (int i = 0; i < width; i++) {
            for (int j = 0; j < height; j++) {
            imageDescription[i][j] = ExploringMedics.WHITE - imageDescription[i][j];
            }
        }
    }
}
